import { defineStore } from 'pinia'

export const editor = defineStore('editor',{
    id:"editor",
    state:()=>{
        return {
            wangeditor:''
        }
    },
    getters:{
        handletext:(state)=>{
            return (e)=>{
                state.wangeditor = e
            }
        }
    },
    actions:{
       
    }
})